html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#app {
    height: 100%;
    position: relative;
    border: 1px solid #eee;
    box-sizing: border-box;
}
.display_none {
    display: none;
}
/*鹰眼图*/
#myholder-small {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.joint-navigator.joint-theme-default {
    border: 1px solid #20C1DD;
}
.joint-navigator.joint-theme-default>.joint-paper {
    box-shadow: none;
}
.joint-navigator.joint-theme-default .current-view-control {
    border: 1px solid grey;
}
.joint-navigator.joint-theme-default .current-view {
    border: 1px solid grey;
}
/*paper*/
.chainedEr .paperBox,.fieldEr .paperBox {
    top: 0;
}
.paperBox {
    width: 100%;
    position: absolute;
    top:38px;
    bottom: 0;
    left: 0;
}

#paper {
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
#paper .joint-paper {
    box-shadow: 0 0 2px #d3d3d3;
}
#paper .joint-paper-scroller {
    /*background: #f6f6f6;*/
}
#paper .joint-paper-background {
    background-repeat: repeat !important;
}
#stencil-tool {
    line-height: 38px;
    text-align: center;
    background: #20c1dc;
    color: #fff;
    font-size: 14px;
}
/*stencil模*/
.joint-stencil.joint-theme-default {
    top: 39px;
    border: 1px solid #eee;
    border-top: 0;
}

#stencil-holder {
    z-index: 2;
    position: absolute;
    right: 0px;
    top: 0;
    width: 80px;
    bottom: 0;
}
#stencil-tool h3 {
    line-height: 39px;
    background: #20C1DD;
    font-size: 14px;
    color: #fff;
    opacity: 0.8;
}
.joint-stencil .joint-element text {
	font-size:12px;
}
.joint-stencil.joint-theme-default .group:first-child {
    border: 0;
}
.joint-stencil.joint-theme-default .group {
    border: 0;
}
.joint-stencil.joint-theme-default .group.closed {
    max-height: 39px;
}
.joint-stencil .group>.group-label {
    padding: 12px 4px;
}
.joint-stencil .content div[data-name] > h3 {
    background: #F5F6F8;
    color: #505050;
    font: 10px Microsoft YaHei;
}
.joint-stencil.joint-theme-default .group>.group-label:before {
    top: 2px;
    border: 4px solid transparent;
}
.joint-stencil.joint-theme-default .group.closed>.group-label:before {
    top: 0;
    border: 4px solid transparent;
}
#stencil-tool input {
    margin-top: 15px;
    width: 95%;
    height: 30px;
    outline: none;
    margin-bottom: 10px;
}
.joint-stencil.joint-theme-default .group>.group-label:before {
    border-top-color :#434343;
}
.joint-stencil.joint-theme-default .group.closed>.group-label:before {
    border-left-color :#434343;
}

/*元素对齐样式*/
.snapline.horizontal {
    border-bottom: 2px dashed lightgrey !important;
    box-shadow: 0 0 2px black !important;
}

.snapline.vertical {
    border-right: 2px dotted lightgrey !important;
    box-shadow: 0 0 2px black !important;
}

/*inspector*/
.joint-inspector {
    left: 100px;
    width: 730px;
    top: 50px;
    max-height: 500px;
    box-shadow: 0 4px 15px #333;
    z-index: 1000;
}

/*画布滚动条的样式*/
.joint-paper-scroller::-webkit-scrollbar
{
    width: 6px;
    height: 6px;
}
.joint-paper-scroller::-webkit-scrollbar-track
{
    border-radius: 6px;
}
.joint-paper-scroller::-webkit-scrollbar-thumb
{
    border-radius: 6px;
    background-color: #c2c2c2;
}
/*bpmn元素设置*/

.joint-type-bpmn-choreography .fobj body{
    margin-top: 30px;
    height: calc(100% - 30px);
}

.joint-type-bpmn-choreography .fobj .content {
	cursor: default;
    text-align: left;
    padding:0 20px;
    overflow:auto;
    box-sizing: border-box;
    height: 100% !important;
    display: block;
}
.joint-type-bpmn-choreography .fobj .content::-webkit-scrollbar{
	width:6px;
    height:6px;
}
.joint-type-bpmn-choreography .fobj .content::-webkit-scrollbar-thumb{
    background-color:#999;
}
.chainedEr .joint-type-bpmn-choreography .fobj .content table th,.chainedEr .joint-type-bpmn-choreography .fobj .content table td {
    line-height: 30px;
    padding: 0 10px;
    text-align: left;
}
.selectedLog {
    background: skyblue;
    color: #fff;
}

.joint-type-bpmn-choreography .fobj .content .totalLog{
    font: 14px/30px Microsoft YaHei;
    float: right;
}
.joint-type-bpmn-choreography .fobj .content .totalLog .layui-laypage-curr{
    border: 1px solid #ccc;
    padding: 0 10px;
    line-height: 26px;
    display: inline-block;
    border-radius: 2px;
}
.joint-type-bpmn-choreography .fobj .content .totalLog .layui-icon{
    padding: 0 10px;
}
.joint-type-bpmn-choreography .participant_0 .participant-label {
    font-size: 16px !important;
    line-height: 30px;
    fill: #fff !important;
}

.participant_0 .participant-rect {
    fill: #4c87b9;
    height: 30px;
}
.joint-type-bpmn-choreography rect {
    stroke: #4c87b9;
}

.content .fieldsTd {
    padding: 0 10px;
    white-space : nowrap;
    line-height: 24px;
}

/*basic-textblock元素设置*/
.chainedEr .joint-type-basic-textblock  .fobj .content{
    color: #fff;
    box-sizing: border-box;
    padding: 10px;
    display: block;
    text-align: center;
    z-index: 0;
}
.chainedEr .joint-type-basic-textblock  .fobj .content .borderImg {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #666;
}
 .imgStart,.imgDxflow,.imgTu,.imgProcedure {
    width: 40px;
    height: 40px;
    background-image: url("/assets/custom/draw/img/process_start.png");
    background-size: 40px 40px;
    display: inline-block;
}
.imgDxflow {
    background-image: url("/assets/custom/draw/img/DXFLOW.png");
}
.imgTu{
    background-image: url("/assets/custom/draw/img/TU.png");
}
.imgProcedure {
	 background-image: url("/assets/custom/draw/img/saveProcess.png");
}
.chainedEr .joint-type-basic-textblock  .fobj .content .borderImg .text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80px;
}
.chainedEr .joint-type-basic-textblock .fobj .content .TextBlockInfo {
    overflow: hidden; /*自动隐藏文字*/
    text-overflow: ellipsis;/*文字隐藏后添加省略号*/
    white-space: nowrap;
    margin-bottom: 6px;
    z-index: 0;
}

.fieldEr .joint-type-basic-textblock  .fobj .content{
    padding: 0;
    box-sizing: border-box;
    display: block;
}
.fieldEr .joint-type-basic-textblock .fobj .content .TextBlockInfo {
    color: #fff;
     line-height: 22px;
    padding: 5px;
    height:50px;
}.fieldEr .joint-type-basic-textblock .fobj .content .TextBlockInfo p {
     overflow: hidden; /*自动隐藏文字*/
     text-overflow: ellipsis;/*文字隐藏后添加省略号*/
     white-space: nowrap;
     width: 170px;
 }
.fieldEr .joint-type-basic-textblock .fobj .content .erFieldInfo {
    height: 30px;
    background: #fff;
    line-height: 26px;
    padding: 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*元素样式类名*/
.eleHighlight {
    stroke:#e91e18 !important;
    stroke-width: 2px;
}
.linkHighlight {
    stroke:#e91e18 !important;
}
.linkTargetHighlight {
    fill:#e91e18 !important;
}
.eleToSourceLink {
	 stroke:#26c281 !important;
	 stroke-width: 4;
}
.eleToSourceLinkT {
	 fill:#26c281 !important;
	  stroke:#26c281 !important;
}

.eleToTargetLink {
	 stroke:#d91e18 !important;
	  stroke-width: 4;
}
.eleToTargetLinkT {
	 stroke:#d91e18 !important;
	 fill:#d91e18 !important;
	
}
/*右键list*/
.svgShade {
    background: rgba(0,0,0,.5) !important;
    z-index: 10 !important;
}
.layui-layer-btn .layui-layer-btn0 {
	border-color: #20c1dc !important;
    background-color: #20c1dc !important;
}
.vakataActive,.ersecondMenu:hover {
	background:#20c1dc !important;
	color:#fff !important;
	box-shadow: 0 0 0 #ccc !important; 
    text-shadow: 0 0 0 #ccc !important; 
}
.oneMenuLi {
	position:relative;
}
.itemNone {
	display:none !important;
}
